﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmallERP.MODEL.FenPian;
using SmallERP.MODEL.FoundationModel;
using SmallERP.MODEL.PBModel;
using System.Drawing;
using Smallerp.Contracts.DataContracts;
using System.ServiceModel;
using Smallerp.Contracts;

namespace SmallERP.PinBan.ImportPhoto.View
{
    public interface IFrmImportPhoto
    {
        PaperFaceDCT PaperFaceInfo { set; get; }
        PaperTypeDCT PaperTypeInfo { get; set; }
        PrinterDCT PrinterInfo { get; set; }
        int PrintType { get; set; }
        int IntPriority { get; set; }
        string OrderPath { set; get; }
        OrderViewDCT _currOrder { get; set; }
        List<Smallerp.Contracts.DataContracts.OrderViewDCT> OrderViewList { get; set; }
        List<PaperFaceDCT> FaceBind { get; set; }
        List<PaperTypeDCT> TypeBind { get; set; }
        List<PrinterDCT> PrintBind { get; set; }
        bool CanClose{ get; set;}
        string CurrImportPath { get; set; }//选择目录导入时使用
        List<string> CurrTaskPath { get; set; }
        List<OrderViewDCT> OrderErrorList { get; set; }
        bool IsAnalyIng { get; set; }//分析文件单个


        void BingPaperFace();
        void BingPaperType();
        void BingPrint();
        void RefreshDataCreateView();
        //void ShowImportMessage(string inStr);
        void ShowImportMessage(string inStr,Color co );
        void RushViewData(List<OrderViewDCT> viewList);
        void ShowReadFileName(string strFileName);
        void SetProcessValue(int inPoint,int inLength);
        void FreezeFrm();
        void ThawyFrm();
        void DisPlayErrorList();
        void SetOperatSatus();
        void ShowErrorPhotoList(List<PhotoDCT> photoList);

        void CloseAnaly();
        ChannelFactory<IOperateDB> _proxyOperateDB{get;set;}//创建代理
        IOperateDB _OperateDb{get;set;}

    }
}
